import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HomeComponent } from './home.component';
import { NgZorroAntdModule} from 'ng-zorro-antd';
import { AppRoutingModule } from 'src/app/app-routing.module';
import { UserListComponent } from './user/user-list/user-list.component';
import { HttpClientModule } from '@angular/common/http';
import {GenderRePipePipe} from '../../pipe/gender-re-pipe.pipe';
import {UserStatusPipePipe} from '../../pipe/user-status-pipe.pipe';
import { UserCreateComponent } from './user/user-create/user-create.component';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import { CateListComponent } from './cate/cate-list/cate-list.component';
import { CateCreateComponent } from './cate/cate-create/cate-create.component';
import { CateEditComponent } from './cate/cate-edit/cate-edit.component';

@NgModule({
  declarations: [HomeComponent, UserListComponent, GenderRePipePipe, UserStatusPipePipe, UserCreateComponent, CateListComponent, CateCreateComponent, CateEditComponent],
  imports: [CommonModule, NgZorroAntdModule, AppRoutingModule, HttpClientModule,FormsModule,
    BrowserModule,
    ReactiveFormsModule],
})
export class HomeModule {}
